import request from "../../utils/request";

// 职业锚 测试题请求
export function getCareeranchorTest() {
	return request({
		url: '/mentalTest/careeranchor/listAll',
		method: 'GET'
	})
}
// 新增或修改职业锚测试结果
export function insertOrUpdateResult(data) {
	return request({
		url: '/mentalTest/careeranchorTestResult/addOrUpdate',
		method: 'POST',
		data
	})
}

// 查询当前用户mbti测试结果
export function selectCareeranchorTestResult() {
	return request({
		url: '/mentalTest/careeranchorTestResult/selectTestResult',
		method: 'POST',
	})
}